var GuideMenuLayer = cc.Layer.extend({
	_backgroundLayer:null,
	_touchLayer:null,
	ctor:function(number){
		this._super();
		this.addBackgroundLayer(number);
		this.addTouchLayer(number);
	},
	addBackgroundLayer : function(number){
		this._backgroundLayer = new GBackgroundLayer(number);
		this.addChild(this._backgroundLayer);
	},
	addTouchLayer : function(number) {
		this._touchLayer = new GTouchLayer(number);
		this.addChild(this._touchLayer);
	}
});

var _guide;

var GuideMenuScene = cc.Scene.extend({
	ctor:function(number){
		this._super();
		this.number = number;
		var guide = jsb.fileUtils.getStringFromFile("src/data/guide_zh_cn.json");
		_guide= JSON.parse(guide);
	},
	onEnter:function(){
		this._super();
		var layer = new GuideMenuLayer(this.number);
		this.addChild(layer);
	}
});